package com.ldatum.crm.dao;

import java.util.List;

import com.ldatum.crm.domain.Customer;

public interface CustomerDao {

	void add(Customer customer) throws Exception;


	void delete(Customer customer, int id) throws Exception;


	void update(Customer customer, int id) throws Exception;


	Customer findById(Class<Customer> clazz, int id) throws Exception;


	List<Customer> myCustomer(Class<Customer> clazz, String proprietor) throws Exception;


	String generateNo(String currentDate) throws Exception;	


	void deletes(Customer customer, String ids) throws Exception;

}
